package com.example.easyscript.bean.stephandler;

import com.example.easyscript.bean.StepHandler;
import com.example.easyscript.bean.task.StepBean;
import com.example.easyscript.bean.task.TaskBean;
import com.example.easyscript.enums.StepTypeEnum;
import org.springframework.stereotype.Component;

@Component
public class SingleClickHandler extends StepHandler {

    @Override
    public boolean canSolve(StepBean stepBean) {
        return stepBean.getStepType().equals(StepTypeEnum.CLICK_TYPE);
    }

    @Override
    public boolean preStep(StepBean stepBean) {
        return false;
    }
}
